const My_Token="MYTOKEN";

/**
 * 存储Token
 * @param {*} obj 
 */
 export const setToken=(obj)=>{
   localStorage.setItem(My_Token,obj)
}


/**
 * 获取Token
 * @param {*} obj 
 */
export const getToken=(obj)=>{
   return localStorage.getItem(My_Token)
 }

/**
 * 销毁Token
 * @param {*} obj 
 */
export const removeToken=(obj)=>{
    localStorage.removeItem(My_Token)
 }

